﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ListThongBao.ascx.cs" Inherits="KTX_ListThongBao" %>
<div class="col-md-3">
<asp:PlaceHolder ID="PlaceHolderLeft" runat="server"></asp:PlaceHolder>
    </div>
<div class="col-xs-6 col-md-9">

  <asp:Repeater ID="rptItems" runat="server">
        <ItemTemplate>
            <div class="media thumbnail">
                <a class="pull-left" href="#">
                    <img class="media-object" src="/Images/kblogger.png" alt="..." width="96">
                </a>
                <div class="media-body">
                    <h4 class="media-heading"><a href="Default.aspx?tab=ctthongbao&IDThongBao=<%#Eval("IDThongBao") %>" rel="tooltip" title="<%#Eval("TieuDe") %>"><%#Eval("TieuDe") %> </a><span class="pull-right"><%#(Eval("GhimThongBao").ToBool()==true) ?"<img src='/images/note2.png' width='24' />":"" %></span></h4>
                    <small>bởi <b><%#Eval("NguoiThongBao") %></b>
                        <i class="fa fa-calendar"></i>

                        <time class="timeago" datetime="<%#Eval("NgayThongBao") %>" rel="tooltip" title="<%#Eval("NgayThongBao") %>"><%#Eval("NgayThongBao") %></time>
                        |   <i class="fa fa-eye"></i>(<%#Eval("LuotXem") %>) người đã xem
                    </small>
                    <br />
                    <%#Eval("MoTa") %>
                    <span class="pull-right">
                        <a href="Default.aspx?tab=ctthongbao&IDThongBao=<%#Eval("IDThongBao") %>">Xem chi tiết</a>
                    </span>
                </div>
            </div>
        </ItemTemplate>
    </asp:Repeater>
      <asp:PagingControl ID="PagingControl1" runat="server" FirstPageText="|<" PreviousPageText="<<" NextPageText=">>" LastPageText=">|" />
</div>
<script type="text/javascript">
    $(document).ready(function () {
        $("#m-tintuc").addClass("active");
    });
</script>